package com.web.settlement.service;

import com.web.settlement.entity.Settlement;
import com.web.settlement.mapper.SettlementMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class SettlementService {

	@Resource
	private SettlementMapper mapper;

	public List<Settlement> getSettlements(Settlement r){
		return mapper.getSettlements(r);
	}

	public Integer addSettlement(){
		return mapper.addSettlement();
	}
}
